package com.testing.class9;

public class Animal {



    public Animal(){
//        System.out.println("一个动物出生了");
    }

    public  int age=0;
    public static String name="动物";
    public String hair="地中海";
    public String  kind ="动物";


    public  void eat(){
        System.out.println("动物会吃东西");
    }

    public static void sleep(){
        System.out.println("动物都会睡觉");
    }

    public void run(){
        System.out.println("哺乳动物在地上走，不会飞");
    }

}
